﻿// //  ********************************************************************************
// //  Copyright (C) 2016 Sebastian Kenter. All rights reserved.
// // 
// //  Name    : PhotonServerProject | PhotonServerFramework | ClientTelegramHandler.cs
// //  Created : 2016 - 03 - 22 16:05
// //  Modified: 2016 - 04 - 18 09:38
// //  ********************************************************************************

using System;
using ExitGames.Logging;
using PhotonServerCommon.Enums;
using PhotonServerFramework.Interfaces.Client;
using PhotonServerFramework.Interfaces.Handler;
using PhotonServerFramework.Interfaces.Telegram;

namespace PhotonServerFramework.Implementation.Handler
{
    public abstract class ClientTelegramHandler : IClientTelegramHandler<IClientPeer>
    {
        public abstract ILogger Logger { get; }
        public abstract Guid HandlerId { get; set; }
        public abstract HandlerTypes HandlerType { get; }
        public abstract byte HandlerCode { get; }
        public abstract int HandlerSubCode { get; }
        public abstract bool HandleTelegram(ITelegram telegram, IClientPeer clientPeer);
    }
}
